def return_nums():  # 函数一旦遇到return 就会返回，不会继续执行
    return 1, 2, 3
    # return 2


num = list(return_nums())
print(num)


def user_info(name, age, gender='+'):
    print(f'您的名字是{name}，年龄是{age}岁，性别是{gender}')


user_info(age=18, name='zhangsan')


def user_info(Number1,Number2):
    print(Number1+Number2)


user_info(22, 23)


def user_info(name, *args, age):
    print(name)
    print(args)
    print(age)


user_info('zhangsan','lisi','wangwu', age=18)


def user_info(name, gender, **kwargs):
    print(name)
    print(gender)
    print(kwargs)


user_info(name="tom", age=18, gender='男')

